package singlelink;

/**
 * Created by wuwf on 2017/3/25.
 */
public class Test {
    public static void main(String[] args) {
        LinkedList list = new LinkedList();

        for (int i = 0; i < 10; i++) {
            Node node = new Node(i + "");
            list.add(node);
        }
        list.insert(10, new Node("x"));
        list.print();
        System.out.println("size:" + list.size());
    }
}
